<%@ page language="java" contentType="text/html; charset=utf-8"  pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<div class="page-content">
		<!--content-->
		<div class="containerTop">
			<a href="javascript:;" class="a-back" onclick="menuUrl('user/view', 'user:page');"><span class="icon-back"></span></a>
			<span>用户详情</span>
		</div>
		
		<div class="panel charger">
			<form id="updateForm" class="form-horizontal" role="form">
							
				<div class="form-group">
					<label  class="label_padding_left control-label">用户姓名：</label>
					<label  class="label control-label">${result.data.userName }</label>
				</div>
				<div class="form-group">
					<label  class="label_padding_left control-label">登录名：</label>
					<label  class="label control-label">${result.data.account }</label>
				</div>
				
				
				<div class="form-group">
					<label  class="label_padding_left control-label">办公电话：</label>
					<label  class="label control-label">${result.data.officePhone }</label>
				</div>
				
				<div class="form-group">
					<label  class="label_padding_left control-label">手机号码：</label>
					<label  class="label control-label">${result.data.phone }</label>
				</div>
				
				<div class="form-group">
					<label  class="label_padding_left control-label">所属机构：</label>
					<label  class="label control-label">${result.data.corpName }</label>
				</div>
				
				<div class="form-group">
					<label  class="label_padding_left control-label">所属部门：</label>
					<label  class="label control-label">${result.data.deptName }</label>
				</div>
				
				<div class="form-group">
					<label  class="label_padding_left control-label">真实用户：</label>
					<label  class="label control-label">${result.data.realUserName }</label>
				</div>
				
				<div class="form-group">
					<label  class="label_padding_left control-label">查询次数：</label>
					<label  class="label control-label">${result.data.limitCount } 次/天</label>
				</div>
				
				<div class="form-group">
					<label  class="label_padding_left control-label">IP设置：</label>
					<label  class="label control-label">${result.data.allowIp }</label>
				</div>
				<div class="form-group">
					<label  class="label_padding_left control-label">mac地址：</label>
					<label  class="label control-label">${result.data.userMac }</label>
				</div>
				<div class="form-group">
					<label  class="label_padding_left control-label">所属IP段：</label>

					<label  class="label control-label">${result.data.allowIpRange }</label>
				</div>
				
				<div class="form-group">
					<label  class="label_padding_left control-label">创建IP：</label>
					<label  class="label control-label">${result.data.createIp }</label>
				</div>
				
				<div class="form-group">
					<label  class="label_padding_left control-label">创建人：</label>
					<label  class="label control-label">${result.data.createUserName }</label>
							
				</div>
				
				<div class="form-group">
					<label  class="label_padding_left control-label">创建时间：</label>
					<label  class="label control-label"><fmt:formatDate value="${result.data.createTime }" pattern="yyyy-MM-dd HH:mm:ss" /></label>
							
				</div>
				
				
				<div class="form-group">
					<label  class="label_padding_left control-label">申请人：</label>
					<label  class="label control-label">${result.data.proposerName }</label>
							
				</div>
				
				<div class="form-group">
					<label  class="label_padding_left control-label">申请时间：</label>
					<label  class="label control-label"><fmt:formatDate value="${result.data.applyTime }" pattern="yyyy-MM-dd HH:mm:ss" /></label>
							
				</div>
				
				
				<div class="form-group">
					<label  class="label_padding_left control-label">审批人：</label>
					<label  class="label control-label">${result.data.approverName }</label>
							
				</div>
				
				<div class="form-group">
					<label  class="label_padding_left control-label">审批时间：</label>
					<label  class="label control-label"><fmt:formatDate value="${result.data.approvalTime }" pattern="yyyy-MM-dd HH:mm:ss" /></label>
							
				</div>
				
				<div class="form-group">
					<label  class="label_padding_left control-label">修改人：</label>
					<label  class="label control-label">${result.data.updateUserName }</label>
							
				</div>
				
				<div class="form-group">
					<label  class="label_padding_left control-label">修改时间：</label>
					<label  class="label control-label"><fmt:formatDate value="${result.data.updateTime }" pattern="yyyy-MM-dd HH:mm:ss" /></label>
				</div>
				
				
				<div class="form-group">
					<label  class="label_padding_left control-label">修改密码次数：</label>
					<label  class="label control-label">${result.data.updatePwdCount }</label>
							
				</div>
				
				
				
				<div class="form-group">
					<label  class="label_padding_left control-label">备注：</label>
					<label  class="label control-label">${result.data.note }</label>
				</div>
				 <div class="imgUploadBox">
								<ul>
									<li>
										<p>
											<img  src="<c:if test='${empty result.data.certifiedHeadUrl}'>resources/skins/img/img2.jpg</c:if><c:if test='${not empty result.data.certifiedHeadUrl}'>file/download?id=${result.data.certifiedHeadUrl}&sid=${sid}</c:if> " id="certifiedHeadUrl" width="313" height="175"/>
										</p>
									</li>
									<li>
										<h5>身份证正面</h5>
										<p>
											<img src="<c:if test='${empty result.data.idcardFrontUrl}'>resources/skins/img/img3.jpg</c:if><c:if test='${not empty result.data.idcardFrontUrl}'>file/download?id=${result.data.idcardFrontUrl}&sid=${sid}</c:if>" id="idcardFrontUrl" width="313" height="175"/>
										</p>
									</li>
									<li>
										<h5>身份证反面</h5>
										<p>
											<img src="<c:if test='${empty result.data.idcardBackUrl}'>resources/skins/img/img4.jpg</c:if><c:if test='${not empty result.data.idcardBackUrl}'>file/download?id=${result.data.idcardBackUrl}&sid=${sid}</c:if>" id="idcardBackUrl" width="313" height="175"/>
										</p>
									</li>
				
								</ul>
							</div>
							
							<div class="numbResult">
								角色列表
							</div>
							
							<c:forEach items="${result.data.useRoleList }" var ="row" varStatus="status">
							 	<label  class="control-label">${row.roleName }</label>
							 </c:forEach>
				 
				
			</form>
			
			
			
		</div>
		
		<div class="text-center opareBtm">
						
						<a href="javascript:void(0);" id="btnBack" onclick="menuUrl('user/view', 'user:page');" class="a-btn1 grey">返回</a>
		
					</div>
		<!--end content-->
		<div class="clearfix"></div>
</div>